import React from 'react'
import { Tabs } from 'antd';

const { TabPane } = Tabs;

function callback(key) {
    console.log(key);
}
const Resource = () => {
    return (
        <div className="warp">
            <div className="tab">
                <Tabs defaultActiveKey="1" onChange={callback}>
                    <TabPane tab="销售楼盘" key="1">

                    </TabPane>
                    <TabPane tab="房屋租赁" key="2">

                    </TabPane>

                </Tabs>
            </div>
        </div>
    )
}

export default Resource
